﻿// =================================================================== 
// 项目说明
//====================================================================
// @Copy Right 2006-2008
// 文件： T_SURVEY_OPTIONS.cs
// 项目名称：DataService 
// 创建时间：2011-10-16
// 负责人：
// ===================================================================
using System;
using System.Collections.Generic;
using System.Text;
using DP.Data.OracleClient;
using System.Configuration;
using DP.Data.SqlClient;
namespace CRM.Entity
{
	/// <summary>
	///T_SURVEY_OPTIONS数据实体
	/// </summary>
	[Serializable]
    [OracleTable(TableName = "T_SURVEY_OPTIONS", TableOrView = DP.Data.Common.TableType.Table, ConnectionStringKey = "SQLConnString")]
    [SqlTable(TableName = "T_SURVEY_OPTIONS", TableOrView = DP.Data.Common.TableType.Table, ConnectionStringKey = "SQLConnString")]
	public class T_SURVEY_OPTIONS_Entity
	{
		#region 变量定义
        /// <summary>
        /// 自增编号
        /// </summary>
        private int? _aUTOID;
		///<summary>
		///选项编号
		///</summary>
		private int? _oPTION_ID;
        ///<summary>
        ///问卷题目编号
        ///</summary>
        private int? _iTEM_ID;
        ///<summary>
        ///问卷题目名称
        ///</summary>
        private string _iTEM_NAME;
		///<summary>
		///选项名称
		///</summary>
		private string _oPTION_NAME = String.Empty;
        ///<summary>
        ///事业部编号
        ///</summary>
        private long? _bUSINESSDIVISIONID = 0;
        ///<summary>
        ///事业部名称
        ///</summary>
        private string _bUSINESSDIVISIONNAME = String.Empty;
        ///<summary>
        ///事业部代码
        ///</summary>
        private string _bUSINESSDIVISIONCODE = String.Empty;
		#endregion
		
		#region 构造函数
		///<summary>
		///
		///</summary>
		public T_SURVEY_OPTIONS_Entity()
		{			
			
		}
		#endregion
		
		#region 公共属性

        ///<summary>
        ///自增编号
        ///</summary>		
        [OracleColumn(IncrementPrimaryKey = false, PrimaryKey = true, SequenceName = "SQ_T_SURVEY_OPTIONS")]
        [SqlColumn(IncrementPrimaryKey = true, PrimaryKey = true)]
        public int? AUTOID
        {
            get { return _aUTOID; }
            set { _aUTOID = value; }

        }

		
		///<summary>
		///选项编号
		///</summary>		
		public int? OPTION_ID
		{
			get {return _oPTION_ID;}
			set { _oPTION_ID = value; }
			
		}

		///<summary>
		///问卷题目编号
		///</summary>		
		public int? ITEM_ID
		{
			get {return _iTEM_ID;}
			set { _iTEM_ID = value; }
			
		}

        ///<summary>
        ///题目名称
        ///</summary>		
        public string ITEM_NAME
        {
            get { return _iTEM_NAME; }
            set
            {
                _iTEM_NAME = value;
            }

        }

		///<summary>
		///选项名称
		///</summary>		
		public string OPTION_NAME
		{
			get {return _oPTION_NAME;}
			set {
					_oPTION_NAME = value;
				}
			
		}

        ///<summary>
        ///事业部编号
        ///</summary>		
        public long? BUSINESSDIVISIONID
        {
            get { return _bUSINESSDIVISIONID; }
            set { _bUSINESSDIVISIONID = value; }

        }

        ///<summary>
        ///事业部名称
        ///</summary>		
        public string BUSINESSDIVISIONNAME
        {
            get { return _bUSINESSDIVISIONNAME; }
            set
            {
                _bUSINESSDIVISIONNAME = value;
            }

        }

        ///<summary>
        ///事业部代码
        ///</summary>		
        public string BUSINESSDIVISIONCODE
        {
            get { return _bUSINESSDIVISIONCODE; }
            set
            {
                _bUSINESSDIVISIONCODE = value;
            }

        }
		#endregion
		
	}
}
